Depends on whether it was false start or illegal motion/ formation. If it was false start the play is blown dead. Illegal motion or illegal formation the play is not blown dead and you would have the option to take the result of the play or the penalty. This confuses alot of people because the referee gives the same signal for illegal formation and false start(fists rolling over each other)